Skip to content

Add ¤A¤ action-result extension to the ustk response format#1

Merged
mjfelis merged 1 commit into
mainfrom
feature/action-result-extension
Jun 4, 2026
Merged

Add ¤A¤ action-result extension to the ustk response format#1
mjfelis merged 1 commit into
mainfrom
feature/action-result-extension

Conversation

@mjfelis

@mjfelis mjfelis commented Jun 4, 2026

Copy link
Copy Markdown
Member

Responses may now carry an optional action result after a new USTK_ACTION_SEPARATOR ("¤A¤"): "¤A¤" where the token is <O|C> (O0/O1/O2 = OK, C1/C2 = cancelled). This is what the micro applet appends after the REPLY_APPENDIX it echoes.

  • ResponseHelper.USTK_ACTION_SEPARATOR + buildMicroResponseString(...) build the full double-separator response terminated with ¤A¤ for applets that cannot wrap the value themselves.
  • parseUstkString peels the ¤A¤ token into UstkParams (lastActionId + result), then parses the base exactly as before; responses without ¤A¤ are unchanged.
  • UstkParams gains lastActionId + result (new UstkActionResult{OK,CANCEL}).
  • Bump 1.0.5 -> 1.0.6.

Responses may now carry an optional action result after a new
USTK_ACTION_SEPARATOR ("¤A¤"): "<ustk response>¤A¤<token>" where the token is
<O|C><lastActionId> (O0/O1/O2 = OK, C1/C2 = cancelled). This is what the micro
applet appends after the REPLY_APPENDIX it echoes.

- ResponseHelper.USTK_ACTION_SEPARATOR + buildMicroResponseString(...) build the
  full double-separator response terminated with ¤A¤ for applets that cannot
  wrap the value themselves.
- parseUstkString peels the ¤A¤ token into UstkParams (lastActionId + result),
  then parses the base exactly as before; responses without ¤A¤ are unchanged.
- UstkParams gains lastActionId + result (new UstkActionResult{OK,CANCEL}).
- Bump 1.0.5 -> 1.0.6.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mjfelis mjfelis merged commit ef68299 into main Jun 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant